_[69]={
	_:function(d){
		d.innerHTML='<img><img><img><img>';
		this._d=d;
		this._w=576;
		this._s='translateX(-'+this._w+'px)';
		this._d.lastChild.style.webkitTransform='translateX(-'+this._w+'px)';
		this._A('ontouchend','_E');
		this._A('ontouchmove','_M');
		this._A('ontouchstart','_S');
		var o=this;
		window.ontransitionend=function(v){return o._T(v);}
	},
	rst:function(){
		var i=0,m=this._q,n=this._d.lastChild,r=this._r;
		n.src='/img/blank.gif';
		if(m>3)
			m=3;
		while(i<m){
			n=n.previousSibling;
			n.src='/pad/'+r[i++]._;
		}
		this._p=0;
		this.pst(this._r[0]);
	},
	set:function(r){
		this._q=r.length;
		this._r=r;
		this.rst();
	},
	get:function(){
		return this._r;
	},
	fwd:function(){
		this._K();
		if(this._p<this._q-1)
			this._o=4;
		else{
			this._d.lastChild.previousSibling.style.webkitTransform='translateX(-100px)';
			this._F();
			this._o=2;
		}
		this._C();
	},
	bwd:function(){
		this._K();
		if(this._p>0)
			this._o=5;
		else{
			this._d.lastChild.style.webkitTransform='translateX('+(100-this._w)+'px)';
			this._F();
			this._o=3;
		}
		this._C();
	},
	pst:function(x){
	},

	_b:0,		// touch base
	_d:null,	// dom node
	_n:'-webkit-transform 333ms ease-out',
	_o:0,		// opt
	_p:0,		// image pointer
	_q:0,		// length of image set
	_r:[{k:0}],	// image set
	_s:null,	// trans style
	_t:0,		// time
	_w:0,		// width

	_A:function(e,f){
		var o=this;
		this._d[e]=function(v){return o[f](v);}
	},
	_C:function(){		// transcont
		var c=this._d.lastChild;
		var b=c.previousSibling;
		switch(this._o){
		case 2:
			b.style.webkitTransition=this._n;
			b.style.webkitTransform=null;
			this._o=8;
			break;
		case 3:
			c.style.webkitTransition=this._n;
			c.style.webkitTransform=this._s;
			this._o=9;
			break;
		case 4:
			b.style.webkitTransition=this._n;
			b.style.webkitTransform=this._s;
			this._o=6;
			break;
		case 5:
			c.style.webkitTransition=this._n;
			c.style.webkitTransform=null;
			this._o=7;
			break;
		}
		out('C:'+new Date().getTime()+'.'+this._o);
	},
	_E:function(e){		// touchend
		this._t=new Date().getTime();
		this._C();
		e.preventDefault();
		out('E:'+this._t+'.'+this._o);
	},
	_F:function(){		// flash
		this._d.offsetWidth=this._d.offsetWidth;
	},
	_K:function(){		// skip transition
		var n=this._d.lastChild;
		n.previousSibling.style.webkitTransition=
		n.style.webkitTransition=null;
		this._T();
	},
	_M:function(e){		// touchmove
		this._t=new Date().getTime();
		switch(this._o){
		case 1:
		case 2:
		case 3:
		case 4:
		case 5:
			var c=this._d.lastChild;
			var b=c.previousSibling;
			var x=this._b-e.touches[0].screenX;
			b.style.webkitTransition=
			c.style.webkitTransition=null;
			if(x>0){
				if(this._p<this._q-1)
					this._o=4;
				else{
					this._o=2;
					x/=2;
				}
				b.style.webkitTransform='translateX(-'+x+'px)';
				c.style.webkitTransform=this._s;
			}
			else{
				if(this._p>0)
					this._o=5;
				else{
					this._o=3;
					x/=2;
				}
				b.style.webkitTransform=null;
				c.style.webkitTransform='translateX(-'+(this._w+x)+'px)';
			}
		}
		e.preventDefault();
		out('M:'+this._t+'.'+this._o);
	},
	_S:function(e){		// touchstart
		this._t=new Date().getTime();
		switch(this._o){
		case 6:
		case 7:
		case 8:
		case 9:
			this._K();
		case 0:
			this._b=e.touches[0].screenX;
			this._o=1;
		}
		out('S:'+this._t+'.'+this._o);
	},
	_T:function(){		// transend
		out('T:'+new Date().getTime()+'.'+this._o+'-'+this._p+'/'+this._q);
		var m=this._d.firstChild,n=this._d.lastChild;
		n.style.webkitTransition=null;
		n.previousSibling.style.webkitTransition=null;
		switch(this._o){
		case 6:
			this._d.removeChild(n);
			this._d.insertBefore(n,m);
			n.style.webkitTransform=null;
			this._p++;
			n.src=this._p<this._q-2?'/pad/'+this._r[this._p+2]._:'/img/blank.gif';
			break;
		case 7:
			this._d.removeChild(m);
			this._d.appendChild(m);
			m.style.webkitTransform=this._s;
			this._p--;
			m.src=this._p>0?'/pad/'+this._r[this._p-1]._:'/img/blank.gif';
		}
		this.pst(this._r[this._p])
		this._F();
		this._o=0;
	},
}